package com.jhgsys.internal.hazard.service;

import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jhgsys.internal.hazard.dto.HazardExamineTeamDto;
import com.jhgsys.internal.hazard.entity.HazardExamineTeam;

import java.util.List;

/**
 *  Service接口
 *
 * @author zhangwei
 * @date 2024-09-02 11:25:48
 */
public interface IHazardExamineTeamService extends IService<HazardExamineTeam> {
    /**
     * 查询（分页）
     * @author zhangwei
     * @date 2024-09-02 11:25:48
     * @param request QueryRequest
     * @param hazardExamineTeam hazardExamineTeam
     * @return IPage<HazardExamineTeam>
     */
    IPage<HazardExamineTeamDto> findHazardExamineTeamPage(QueryRequest request, HazardExamineTeamDto hazardExamineTeamDto);

    /**
     * 查询（所有）
     * @author zhangwei
     * @date 2024-09-02 11:25:48
     * @param hazardExamineTeam hazardExamineTeam
     * @return List<HazardExamineTeam>
     */
    List<HazardExamineTeam> findHazardExamineTeamList(HazardExamineTeam hazardExamineTeam);

    /**
    * 根据ID查询
    * @author zhangwei
    * @date 2024-09-02 11:25:48
    * @param id
    * @return HazardExamineTeam
    */
    HazardExamineTeam findHazardExamineTeamById(String id);

    /**
     * 新增
     * @author zhangwei
     * @date 2024-09-02 11:25:48
     * @param hazardExamineTeam hazardExamineTeam
     */
    void createHazardExamineTeam(HazardExamineTeamDto hazardExamineTeamDto);

    /**
     * 修改
     * @author zhangwei
     * @date 2024-09-02 11:25:48
     * @param hazardExamineTeam hazardExamineTeam
     */
    void updateHazardExamineTeam(HazardExamineTeamDto hazardExamineTeamDto);

    /**
     * 逻辑删除
     * @author zhangwei
     * @date 2024-09-02 11:25:48
     * @param hazardExamineTeam hazardExamineTeam
     * @param hazardExamineTeamIds hazardExamineTeamIds
     */
    void deleteHazardExamineTeam(HazardExamineTeam hazardExamineTeam,String hazardExamineTeamIds);

    /**
    * 物理删除
    * @author zhangwei
    * @date 2024-09-02 11:25:48
    * @param hazardExamineTeamIds hazardExamineTeamIds
    */
    void physicallyDeleteHazardExamineTeam(String hazardExamineTeamIds);
}
